<template>
  <Layout.Footer class="contract-footer flex items-center justify-center">
    <Pagination simple v-bind="{ ...$attrs }" @change="(e) => $emit('change', e)" />
  </Layout.Footer>
</template>

<script lang="ts" setup>
  import { Layout, Pagination } from 'ant-design-vue';

  const emits = defineEmits(['change']);
</script>

<style lang="less" scoped>
  .contract-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border-top: 1px solid #ccc;
    background-color: #fff;
  }

  ::v-deep(.ant-pagination-item-link) {
    line-height: 26px;
  }
</style>
